package dao.security.impl;

import model.security.UsrUserRole;
import org.springframework.context.ApplicationContext;

import core.dao.impl.BaseDaoImpl;
import dao.security.UsrUserRoleDao;

public class UsrUserRoleDAOImpl extends BaseDaoImpl<UsrUserRole> implements UsrUserRoleDao {
	public UsrUserRoleDAOImpl(){
		super(UsrUserRole.class);
	}
	
	public static UsrUserRoleDao getFromApplicationContext(
			ApplicationContext ctx) {
		return (UsrUserRoleDao) ctx.getBean("usrUserRoleDAO");
	}
}